﻿/*****************************************************************************
 * Hyldahl.Services.TaskProcessing                 Created by: MSH 2008.07.22
 * --------------------------------------------------------------------------
 * FileName: TaskProcessor.cs
 * --------------------------------------------------------------------------
 * Copyright 2009 Martin Sixhøj Hyldahl
 *****************************************************************************/

namespace Hyldahl.Services.TaskProcessing
{
    public abstract class TaskProcessor
    {
        /// <summary>
        /// Processes the specified task.
        /// </summary>
        /// <param name="task">The task.</param>
        public abstract void Process(Task task);

        /// <summary>
        /// Gets the type of the supported task.
        /// </summary>
        /// <value>The type of the supported task.</value>
        public abstract string TaskType
        {
            get;
        }
    }
}
